package com.ss.whisper2.pojo.entity.user;

public enum Gender {

	FEMALE(0),MALE(1);
	//数据库中1代表男性，0代表女性
	private int name;

	Gender(int name) {
		this.name = name;
	}

	public int getName() {
		return this.name;
	}

	public String getValue() {
		if (this.getName() == 1) {
			return "男";
		}else {
			return "女";
		}
	}
}
